Did you mean illegitimacy?
illegitimacy
noun
°The state or condition of being illegitimate.